package com.changwu.cwbase.temples.adapter;

import android.content.Context;

import com.chad.library.adapter.base.BaseMultiItemQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.changwu.cwbase.Constants;
import com.changwu.cwbase.R;

import java.util.List;


/**
 * Created by changwu
 * Date: 16/08/28
 */

public class TempleMultiAdapter extends BaseMultiItemQuickAdapter<MultiItemEntity, BaseViewHolder> {

    public TempleMultiAdapter(Context context, List<MultiItemEntity> data) {
        super(data);
        addItemType(Constants.TYPE_LEVEL_0, R.layout.item_temp);
        addItemType(Constants.TYPE_LEVEL_0, R.layout.item_temp);
    }

    @Override
    protected void convert(BaseViewHolder helper, MultiItemEntity item) {
        switch (helper.getItemViewType()) {
            case Constants.TYPE_LEVEL_0:
//                final MultipleItem dataModel= (MultipleItem) item;
                break;
            case Constants.TYPE_LEVEL_1:
                break;
        }
    }


}
